ifneq ($(KERNELRELEASE),)
#kbuild syntax.
obj-m :=czy_module.o 
else
PWD :=$(shell pwd)
KVER :=$(shell uname -r)
KDIR :=/lib/modules/$(KVER)/build
all:
	$(MAKE) -C $(KDIR) M=$(PWD)
clean:
	rm -rf *.cmd *.o *.mod *.ko .tmp_versions
endif
